<template>
    <div>
        <!-- 自然人 -->
        <table class="table_detail" style="width: 100%;">
                <tr> <td colspan="5" class="headColor"> <span>信息披露期</span></td></tr>
                <tr>
                    <td  class="showC headColor"><span>信息披露期</span></td>
                    <td class="normalC"><span>自杭州产权交易所网站披露次日起{{cData.informationDisclosure}}个工作日</span></td>
                </tr>  
                <!-- 正式披露 -->
                <template v-if="type == 2">
                    <tr>
                        <td  class="showC headColor"><span>信息披露期满，如未征集到意向受让方</span></td>
                        <td class="normalC"><span>{{cData.informationDisclosureType == 1?'信息披露终结':cData.informationDisclosureType == 2?`延长信息披露：不变更信息披露内容，按照${cData.informationDisclosureDay}个工作日为一个周期延长。`:'变更信息披露内容,重新申请信息披露'}}   </span></td>
                    </tr> 

                    <tr v-if="cData.informationDisclosureType == 2">
                        <td  class="showC headColor"><span>延长信息披露</span></td>
                        <td class="normalC"><span>{{cData.informationDisclosureExtensionType == 1?'直至征集到符合条件的意向受让方':`最多延长${cData.informationDisclosure}个周期`}}</span></td>
                    </tr>        

                    <tr>
                        <td  class="showC headColor"><span>公告是否刊登媒体</span></td>
                        <td class="normalC"><span>{{cData.isPublicationMedia?'是':"否"}}</span></td>
                    </tr> 
                    <tr v-if="cData.isPublicationMedia">
                        <td  class="showC headColor"><span>刊登媒体</span></td>
                        <td class="normalC"><span>{{cData.publicationMedia}}</span><span v-if="cData.publicationMedia=='其他'">{{cData.other}}</span></td>
                    </tr>                                                             
                </template>                                                                                                                                                                           
        </table>           

    </div>
</template>

<script>
    export default {
        props:{
            type:'',
            cData: {},
            // cCol:'',
        },
        data() {
            return {
                cCol: [
                    {
                        name1: "data1",
                    },{
                        name1: "data2",
                        name2: "data3"
                    },{
                        name1: "data4",
                        name2: "data5"
                    },{
                        name1: "data7",
                        name1: "data8"
                    },{
                        name1: "data9",
                        name1: "data10"
                    }
                ],        
            }
        },
    }
</script>

<style scoped>
    .normalC{ background-color: #ffffff !important;}
    .showC{ background-color: #f5f5f5 !important;}
    .table_detail td:nth-child(odd) {
        width: 240px;
        height: 40px;
        background-color: #f5f5f5;
        flex: none;
    }    
    
</style>